package com.hkd.user_api.controller.base;

import com.hkd.common.api.ApiResponse;
import com.hkd.common.api.anntation.Idempotent;
import com.hkd.user_api.controller.BaseController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HKD
 * @date 2022/9/4 22:27
 */
@RestController
@RequestMapping("menu")
@Api(tags = "菜单管理")
public class MenuController extends BaseController {
    @GetMapping("test")
    public ApiResponse test(){
        return ApiResponse.ok(curUser(true));
    }
}
